/**
 * ISWE.
 * Created on : 16/07/2009
 *
 * Copyright (c) 2009 ISWE.
 * Rafael Noronha de Almeida
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of Rafael Noronha de Almeida
 * ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Rafael.
 */
package br.com.iswe.recipemaster.entities.core;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

import br.com.iswe.core.entidades.annotation.GeradorConfig;
import br.com.iswe.core.entidades.annotation.SecurityStrategyType;
import br.com.iswe.recipemaster.entities.BaseEntity;

import com.google.appengine.api.datastore.Key;

/**
 *
 * Description: 
 *
 * @author Rafael Noronha de Almeida
 *
 * @version $Revision: 1.2 $ $Date: 2009/07/21 11:04:15 $
 *
 */
@Entity
@GeradorConfig(securityStrategy = SecurityStrategyType.ACEGI_ISWE_INTEGRATION)
public class UnitType extends BaseEntity {

	private Key 	unitTypeId;
	private String 	name;
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	public Key getUnitTypeId() {
		return unitTypeId;
	}
	public void setUnitTypeId(Key unitTypeId) {
		this.unitTypeId = unitTypeId;
	}
	
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	
}
